package model.contract;

import java.sql.Timestamp;

public class Loangrant  implements java.io.Serializable {
     private Integer id;
     private Integer contractid;
     private Integer grantnum;
     private Timestamp grantdate;
     private Timestamp refunddate;
     private Timestamp repaydate;
     private Double grantmoney;
     private Double backmoney;
     private Double balance;
     private Integer custombankid;
     private Timestamp printdate;
     private Integer state;
     private Integer loangrantnum;
     private Long userid;

    /** default constructor */
    public Loangrant() {
    }

    
    /** full constructor */
    public Loangrant(Integer contractid,Integer grantnum, Integer loangrantnum,Timestamp grantdate, Timestamp refunddate,Timestamp repaydate,Timestamp printdate,Double grantmoney,Double backmoney,Double balance,Integer custombankid, Integer state,Long userid) {
        this.contractid = contractid;
        this.grantnum=grantnum;
        this.grantdate = grantdate;
        this.refunddate=refunddate;
    	this.repaydate=repaydate;
    	this.backmoney=backmoney;
        this.grantmoney = grantmoney;
        this.printdate=printdate;
        this.state=state;
        this.custombankid=custombankid;
        this.balance=balance;
        this.loangrantnum=loangrantnum;
        this.userid=userid;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getContractid() {
        return this.contractid;
    }
    
    public void setContractid(Integer contractid) {
        this.contractid = contractid;
    }

    public Timestamp getGrantdate() {
        return this.grantdate;
    }
    
    public void setGrantdate(Timestamp grantdate) {
        this.grantdate = grantdate;
    }

    public Double getGrantmoney() {
        return this.grantmoney;
    }
    
    public void setGrantmoney(Double grantmoney) {
        this.grantmoney = grantmoney;
    }


	public Integer getState() {
		return state;
	}


	public void setState(Integer state) {
		this.state = state;
	}


	public Timestamp getRepaydate() {
		return repaydate;
	}


	public void setRepaydate(Timestamp repaydate) {
		this.repaydate = repaydate;
	}


	public Integer getGrantnum() {
		return grantnum;
	}


	public void setGrantnum(Integer grantnum) {
		this.grantnum = grantnum;
	}


	public Timestamp getRefunddate() {
		return refunddate;
	}


	public void setRefunddate(Timestamp refunddate) {
		this.refunddate = refunddate;
	}


	public Double getBalance() {
		return balance;
	}


	public void setBalance(Double balance) {
		this.balance = balance;
	}


	public Timestamp getPrintdate() {
		return printdate;
	}


	public void setPrintdate(Timestamp printdate) {
		this.printdate = printdate;
	}


	public Double getBackmoney() {
		return backmoney;
	}


	public void setBackmoney(Double backmoney) {
		this.backmoney = backmoney;
	}


	public Integer getCustombankid() {
		return custombankid;
	}


	public void setCustombankid(Integer custombankid) {
		this.custombankid = custombankid;
	}


	public Integer getLoangrantnum() {
		return loangrantnum;
	}


	public void setLoangrantnum(Integer loangrantnum) {
		this.loangrantnum = loangrantnum;
	}


	public Long getUserid() {
		return userid;
	}


	public void setUserid(Long userid) {
		this.userid = userid;
	}









}